package com.lgj.tlias.mapper;

import com.lgj.tlias.domain.pojo.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface EmpMapper {
    @Select("select * from emp where username=#{username} and password=#{password}")
    Emp getByNameAndPwd(String username, String password);

}
